package com.vint.common;


/**
 * 针对于常用的
 */
public class StringCommons {
    public static int[] StringToIns(String line){
        String[] lines = line.split(",");
        int[] ret = new int[lines.length];
        for(int i = 0; i<lines.length; i++){
            ret[i] = Integer.parseInt(lines[i]);
        }
        return ret;
    }
    public static void main(String[] args) {
        int[] ret = StringToIns("1,2,3,4");
        System.out.println("success!!");
    }
}
